import { type App } from "vue"
// 图标导入
import { library } from "@fortawesome/fontawesome-svg-core"
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"
import { fas } from "@fortawesome/free-solid-svg-icons"
library.add(fas)
// 注册图标组件
// 注册vue-fontawesome组件以及导入包
export default function registerFontawesome(app: App) {
	app.component("font-awesome-icon", FontAwesomeIcon)
}
